﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="GiaNiemYet.aspx.cs" Inherits="LotteCinema.Admin.GiaNiemYet" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="title" style="font-size:14pt;">Quản Lý Giá Niêm Yết</div>
    <asp:Panel ID="pnthongtin" runat="server">
        <table class="style1">
            <tr>
                <td style="width:350px;">
                    &nbsp;</td>
                <td align="center">
                
              <%--  OnPageIndexChanged="grdNhanVien_PhanTrang"--%>
                    <asp:DataGrid ID="grdGiaNiemYet" runat="server" AllowPaging="True" 
                        AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" 
                        BorderStyle="None" BorderWidth="1px" CellPadding="3" Font-Bold="False" 
                        Font-Italic="False" Font-Overline="False" Font-Strikeout="False" 
                        Font-Underline="False"  OnItemCommand="grdGiaNiemYet_ItemCommand"
                         Width="100%">
                        <HeaderStyle BackColor="#507CD1" Font-Bold="true" ForeColor="White" />
                        <Columns>
                            <asp:BoundColumn DataField="MAGIANIEMYET" HeaderText="Mã Giá Niêm Yết">
                                <HeaderStyle Width="100px" />
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="madd" HeaderText="Mã Định Dạng" Visible="false">
                                <HeaderStyle Width="100px" />
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="tendd" HeaderText="Tên Định Dạng">
                                <HeaderStyle Width="100px" />
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="tien" HeaderText="Tiền">
                                <HeaderStyle Width="100px" />
                            </asp:BoundColumn>
                            <asp:TemplateColumn>
                                <HeaderTemplate>
                                    Sữa
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:LinkButton ID="lbtSua" runat="server" 
                                        CommandArgument='<%#DataBinder.Eval(Container.DataItem,"magianiemyet")%>' 
                                        CommandName="Edit" CssClass="edit" 
                                        OnClientClick="return confirm(&quot;Bạn có muốn sữa không ?&quot;)" 
                                        ToolTip="Sửa" />
                                </ItemTemplate>
                            </asp:TemplateColumn>
                        </Columns>
                        <FooterStyle BackColor="White" ForeColor="#000066" />
                        <HeaderStyle BackColor="#ff6600" CssClass="trHeder" />
                        <ItemStyle ForeColor="#000066" />
                        <PagerStyle BackColor="White" Font-Size="16px" ForeColor="#000066" 
                            HorizontalAlign="Center" Mode="NumericPages" />
                        <SelectedItemStyle BackColor="#669999" Font-Bold="true" ForeColor="White" />
                    </asp:DataGrid>
                </td>
                <td style="width:400px;">
                    &nbsp;</td>
            </tr>
        </table>
    </asp:Panel>
    <asp:Panel ID="pncapnhat" runat="server">
        <table style="border-collapse:collapse" cellpadding="0" width="100%" border="0">
        <tr>
                    <td width="350" />
                    <td class="name_fild_row" width="150">
                        <asp:Label ID="Label3" runat="server" Text="Cập nhật Tiền: " />
                        <div>
                            &nbsp;</div>
                    </td>
                    <td>
                        <asp:TextBox ID="txttien" runat="server"></asp:TextBox>
                        <div>
                            &nbsp;
                        </div>
                    </td>
                </tr>
        
                <tr>
                    <td width="350" />
                    <td class="name_fild_row" width="150">
                    </td>
                    <td>
                     <%--   onclick="lbtCapNhat_Click"--%>
                        <asp:LinkButton ID="lblCapNhatGNY" runat="server" CssClass="update" 
                             Font-Size="14px" onclick="lblCapNhatGNY_Click"><b>CẬP NHẬT</b></asp:LinkButton>
                            &nbsp&nbsp&nbsp&nbsp
                             <%--onclick="lblQuayLai_Click"--%>
                        <asp:LinkButton ID="lblQuayLai2" runat="server" CssClass="back" 
                            Font-Size="14px" 
                            PostBackUrl="~/Admin/GiaNiemYet.aspx" CausesValidation="False" 
                            onclick="lblQuayLai2_Click"><b>QUAY LẠI</b></asp:LinkButton>
                    </td>
                </tr>
       </table>
    </asp:Panel>
</asp:Content>
